package com.face.server.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.DBRef;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 访客信息
 */
@Data
@Document(collection = "joined")
public class Visitor extends Joined {

//    private int type = 1;

    // 访问对象
    @DBRef
    private Student student;

    // 关系
    private String relations;
}
